package gat.domain.service.log.impl;

import com.bitsun.core.common.persistence.BasePService;
import com.bitsun.core.common.persistence.IPService;
import gat.convertor.log.LogReqDtoConvertor;
import gat.convertor.log.LogResDtoConvertor;
import gat.domain.service.log.LogDomainService;
import gat.infrastructure.persistence.dao.log.LogMapper;
import gat.infrastructure.persistence.po.log.LogPo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: Felix Woo （junfengwstar@gmail.com）
 * @Date: 2019-09-20 19:40
 * @Version: 1.0
 * @Description:
 */
@Slf4j
@Service("logDomainService")
public class LogDomainServiceImpl implements LogDomainService {

    @Autowired
    private LogReqDtoConvertor logReqDtoConvertor;

    @Autowired
    private LogResDtoConvertor logResDtoConvertor;

    private IPService<LogPo> logPoService;

    @SuppressWarnings("SpringJavaAutowiringInspection")
    public LogDomainServiceImpl(LogMapper logMapper) {
        this.logPoService = new BasePService(logMapper);
    }
}